<?php
        session_start();
        if($_SESSION['len']=='en'){
            $_SESSION['len']="es";
            echo 'idioma: '.$_SESSION['len'];
            echo "<script type=text/javascript> window.location = '../food.php'; </script>"; 
        }
        else {
             $_SESSION['len']="en";
             echo 'idioma: '.$_SESSION['len'];
             echo "<script type=text/javascript> window.location = '../food.php'; </script>"; 
        }
?>
